package com.grf.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.grf.pojo.User;
import org.springframework.stereotype.Component;

@Component
public class TicketService {

    @Reference(check = false)
    UserService userService;

    public User buy() {
       return userService.getUser();
    }

}
